package client.gui_stub;

public class Citydlg{

// Freeciv - Copyright (C) 1996 - A Kjeldberg, L Gregersen, P Unold
//   This program is free software; you can redistribute it and/or modify
//   it under the terms of the GNU General Public License as published by
//   the Free Software Foundation; either version 2, or (at your option)
//   any later version.
//
//   This program is distributed in the hope that it will be useful,
//   but WITHOUT ANY WARRANTY; without even the implied warranty of
//   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
//   GNU General Public License for more details.
//***********************************************************************/
//
//#ifdef HAVE_CONFIG_H
//#include <config.h>
//#endif
//
//#include "citydlg.h"
//
///**************************************************************************
//  Pop up (or bring to the front) a dialog for the given city.  It may or
//  may not be modal.
//**************************************************************************/
//void popup_city_dialog(city pcity, boolean make_modal)
//{
//  /* PORTME */
//}
//
///**************************************************************************
//  Close the dialog for the given city.
//**************************************************************************/
//void popdown_city_dialog(city pcity)
//{
//  /* PORTME */
//}
//
///**************************************************************************
//  Close the dialogs for all cities.
//**************************************************************************/
//void popdown_all_city_dialogs()
//{
//  /* PORTME */
//}
//
///**************************************************************************
//  Refresh (update) all data for the given city's dialog.
//**************************************************************************/
//void refresh_city_dialog(city pcity)
//{
//  /* PORTME */
//}
//
///**************************************************************************
//  Update city dialogs when the given unit's status changes.  This
//  typically means updating both the unit's home city (if any) and the
//  city in which it is present (if any).
//**************************************************************************/
//void refresh_unit_city_dialogs(unit punit)
//{
//  /* PORTME */
//#if 0
//  /* Demo code */
//  city pcity_sup, *pcity_pre;
//  city_dialog pdialog;
//
//  pcity_sup = Game.find_city_by_id(punit.homecity);
//  pcity_pre = Map.map_get_city(punit.tile);
//
//  if (pcity_sup && (pdialog = get_city_dialog(pcity_sup))) {
//    city_dialog_update_supported_units(pdialog);
//  }
//
//  if (pcity_pre && (pdialog = get_city_dialog(pcity_pre))) {
//    city_dialog_update_present_units(pdialog);
//  }
//#endif
//}
//
///**************************************************************************
//  Return whether the dialog for the given city is open.
//**************************************************************************/
//boolean city_dialog_is_open(city pcity)
//{
//  /* PORTME */
//  return false;
//}
}